package com.ljj.repository;

import com.ljj.dataobject.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @FileName: ProductInfoRepository.java
 * @Package: com.ljj.repository
 * @Author: lijiajun
 * <br/>
 * @Created: 2018/3/23 10:15
 * Copyright (C), 2018, KINGDEE
 */
public interface ProductInfoRepository extends JpaRepository<ProductInfo,String> {
    //根据商品状态查出所有商品
    List<ProductInfo> findByProductStatus(Integer productStatus);
}
